@extends('shopWx.global')

@section('content')
<div class="page page-current" id="user-lv">
    <header class="bar bar-nav">
        <a class="icon icon-left pull-left back" style="font-size: 0.8rem">戻る</a>
    </header>
    <div class="content">
        <div class="card">
            <div class="card-content">
                <div class="card-content-inner">
                    <table class="card-table">
                        <tr>
                            <th>Lv</th>
                            <th>割引券</th>
                            <th>ポイント</th>
                        </tr>
                        @foreach($USER_GROUP as $v)
                            <tr>
                                <td style="color: {{ $v->color }}">{{ $v->name }}</td>
                                <td>{{ $v->discount ? $v->discount : '割引無し' }}</td>
                                <td>{{ $v->requireIntegral }}</td>
                            </tr>
                        @endforeach
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection